home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 406_01 / atoc / buglist < prev    next >
Encoding:
Text File  |  1993-11-09  |  1.1 KB  |  32 lines

  1. ATOC BUGLIST
  2. -------------
  3. A function prototype with an enumerated variable as an argument (but
  4. having no variable name, only a type) causes the whole prototype to
  5. disappear, i.e.
  6.     int foo( enum tag n );    /* works */
  7.     int foo( enum tag );    /* disappears! */
  8.  
  9. An indented line inside a comment that starts with '#' is taken to be
  10. a preprocessor line and is un-indented. (This has no effect on the
  11. compiled code, however, and can be considered benign.)
  12.  
  13. If there is a C++ comment in a string, like:
  14.         printf( " abc // def  " );
  15. ATOC will alter it to a std comment, adding a close comment to the
  16. end of the line.
  17.  
  18. Initialized auto aggregates of typedef'd types are not recognized.
  19. I also depend on whitespace at the left margin to signify that we
  20. are within a function - not very bulletproof but seems to work so far!
  21.  
  22. __TIME__ differs from output module time by ATOC run time.
  23.  
  24. ANSI allows a new syntax for pointers to functions.
  25.     old:                    new:
  26.         int (*fp)();            int (*fp)( void );
  27.         int func();            int func( void );
  28.         fp = func;            fp = &func;
  29.         i = (*fp)();            i = fp();
  30.  
  31. -- end --
  32.